<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core"     prefix="c"    %>    
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title></title>
<link rel="stylesheet" href="css/base.css" type="text/css" />
</head>
<style>
	#xian:hover{overflow: visible;}
</style>
<body>
    <div class="main_right_top">您现在所在位置 > <span>师资团队</span></div>
    <div class="main_right_body">
    <div class="body_content"> 
        <div class="biao_list">
            <div class="set_all">
                <h1 class="biao_title">师资团队</h1>
                <a href="teacher_preAdd.action" class="set_btn_link">添加教师</a>
            </div><!--set_all-->
            <table border="0" cellspacing="0" cellpadding="0" style="　table-layout: fixed;">
                <thead>
                    <tr>
                    	<th>教师照片</th>
                        <th>教师名称</th>
                        <th>教师职位</th>
                        <th>个人简介</th>
                        <th>操作</th>
                    </tr>
                </thead>
                <tbody>
                <c:forEach items="${teacherPOs}" var="item">
                    <tr>
                    	<td>${item.image}</td>
                        <td>${item.teacher_name}</td>
                        <td>${item.teacher_position}</td>
                        <td ><div style="width:100px;text-align:center;white-space:nowrap;text-overflow:ellipsis; -o-text-overflow:ellipsis; overflow: hidden;"><span>${item.work_experience}</span></div></td>
                        <td>
                            <a href="#"  class="td_detail">详情</a>
                            <a href="teacher_preUpdate.action?id=${item.id}" class="td_edit">修改</a>
                            <a href="teacher_delete.action?id=${item.id}" class="td_detele">删除</a>
                        </td>
                    </tr>
                   </c:forEach> 
                     
                </tbody>
            </table>
            
        </div><!--biao_list-->
        </div>
    </div> <!--main_right_body-->
</body>
</html>
